package com.liuwa.knowledge.query;

import com.liuwa.common.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.liuwa.common.bean.SortedPageQuery;
import org.springframework.data.domain.Sort;

/**
 * 外研社单词查询
 * 
 * @author liuwa
 * @date 2025-04-03 10:26:26
 */
@ApiModel(description = "外研社单词查询")
public class FltrpWordQuery extends SortedPageQuery{



    /** 单词 */
    @ApiModelProperty(name="word", required = true, value="单词")
    private String word;


    /** 中文 */
    @ApiModelProperty(name="cn", required = true, value="中文")
    private String cn;


    /** 音标 */
    @ApiModelProperty(name="ipa", required = true, value="音标")
    private String ipa;


    /** 教材 */
    @ApiModelProperty(name="bookId", required = true, value="教材")
    private Integer bookId;


    /** 年级 */
    @ApiModelProperty(name="grade", required = true, value="年级")
    private Integer grade;


    /** 模块 */
    @ApiModelProperty(name="module", required = true, value="模块")
    private Integer module;


    /** 单元 */
    @ApiModelProperty(name="unit", required = true, value="单元")
    private Integer unit;


    /** 图片 */
    @ApiModelProperty(name="image", required = false, value="图片")
    private String image;


    /** 音频 */
    @ApiModelProperty(name="audio", required = false, value="音频")
    private String audio;


    /** 场景 */
    @ApiModelProperty(name="sentence", required = false, value="场景")
    private String sentence;


    /** 场景翻译 */
    @ApiModelProperty(name="sentenceTrans", required = false, value="场景翻译")
    private String sentenceTrans;


    /** 场景音频 */
    @ApiModelProperty(name="sentenceAudio", required = false, value="场景音频")
    private String sentenceAudio;


    /** 难度 */
    @ApiModelProperty(name="difficulty", required = true, value="难度")
    private Integer difficulty;











    public void setWord(String word) 
    {
        this.word = word;
    }

    public String getWord() 
    {
        return word;
    }

    public void setCn(String cn) 
    {
        this.cn = cn;
    }

    public String getCn() 
    {
        return cn;
    }

    public void setIpa(String ipa) 
    {
        this.ipa = ipa;
    }

    public String getIpa() 
    {
        return ipa;
    }

    public void setBookId(Integer bookId) 
    {
        this.bookId = bookId;
    }

    public Integer getBookId() 
    {
        return bookId;
    }

    public void setGrade(Integer grade) 
    {
        this.grade = grade;
    }

    public Integer getGrade() 
    {
        return grade;
    }

    public void setModule(Integer module) 
    {
        this.module = module;
    }

    public Integer getModule() 
    {
        return module;
    }

    public void setUnit(Integer unit) 
    {
        this.unit = unit;
    }

    public Integer getUnit() 
    {
        return unit;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setAudio(String audio) 
    {
        this.audio = audio;
    }

    public String getAudio() 
    {
        return audio;
    }

    public void setSentence(String sentence) 
    {
        this.sentence = sentence;
    }

    public String getSentence() 
    {
        return sentence;
    }

    public void setSentenceTrans(String sentenceTrans) 
    {
        this.sentenceTrans = sentenceTrans;
    }

    public String getSentenceTrans() 
    {
        return sentenceTrans;
    }

    public void setSentenceAudio(String sentenceAudio) 
    {
        this.sentenceAudio = sentenceAudio;
    }

    public String getSentenceAudio() 
    {
        return sentenceAudio;
    }

    public void setDifficulty(Integer difficulty) 
    {
        this.difficulty = difficulty;
    }

    public Integer getDifficulty() 
    {
        return difficulty;
    }



    @Override
    public Sort defaultSort() {
        return Sort.by(Sort.Order.asc("id"));
    }

}
